import request from '/@/utils/request';

// 工作台-列表
export function queryTaskPage(query?: any) {
	query['instanceVariables'] = {
		appName: query.appName || undefined,
		_bt_reportTime: query.taskTime || undefined,
		// _eq_threeListStatus: '3',
	};
	delete query.taskTime;
	delete query.appName;
	return request({
		url: 'manage/process-instance/queryTaskPage',
		method: 'post',
		data: query,
	});
}

// 首页-列表
export function queryTask(params: any) {
	return request({
		url: 'manage/process-instance/queryTaskPage',
		method: 'post',
		data: params,
	});
}

//工作台类别
export function querygroupName(params: any) {
	return request({
		url: 'manage/process/all/groupName',
		method: 'get',
		params,
	});
}
